<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page lamsfet_helper.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name">/helpers/lamsfet_helper.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">LaMSfET data import helper functions.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Andrej Jursa</li>
			</ul>
		
			</div>
</div>
		

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functionlamsfet_download_file" id="functionlamsfet_download_file"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">lamsfet_download_file</span> (line <span class="line-number">9</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			lamsfet_download_file
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$path</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$download_to</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$path</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$download_to</span>			</li>
				</ul>
		
	
</div>
<a name="functionlamsfet_fetch_table" id="functionlamsfet_fetch_table"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">lamsfet_fetch_table</span> (line <span class="line-number">26</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			lamsfet_fetch_table
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$table</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$db</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">&#039;id&#039;</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$table</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$db</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
				</ul>
		
	
</div>
<a name="functionlamsfet_import_task_file_to_local_list_storage" id="functionlamsfet_import_task_file_to_local_list_storage"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">lamsfet_import_task_file_to_local_list_storage</span> (line <span class="line-number">370</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			lamsfet_import_task_file_to_local_list_storage
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$full_path</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$original_path</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$list_task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$lamsfet_task_id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$full_path</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$original_path</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$list_task_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$lamsfet_task_id</span>			</li>
				</ul>
		
	
</div>
<a name="functionlamsfet_task_break_lines" id="functionlamsfet_task_break_lines"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">lamsfet_task_break_lines</span> (line <span class="line-number">357</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			lamsfet_task_break_lines
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$text</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$text</span>			</li>
				</ul>
		
	
</div>
<a name="functionlamsfet_task_get_formatted_text" id="functionlamsfet_task_get_formatted_text"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">lamsfet_task_get_formatted_text</span> (line <span class="line-number">347</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			lamsfet_task_get_formatted_text
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$text</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$text</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_courses_and_courses_terms" id="functionlist_import_lamsfet_courses_and_courses_terms"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_courses_and_courses_terms</span> (line <span class="line-number">82</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_courses_and_courses_terms
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$courses_terms</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$courses</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$courses_terms</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$courses</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_courses_set_types_relation" id="functionlist_import_lamsfet_courses_set_types_relation"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_courses_set_types_relation</span> (line <span class="line-number">128</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_courses_set_types_relation
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$courses_set_types</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$courses_terms</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$set_types</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$courses_set_types</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$courses_terms</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$set_types</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_excercise_groups" id="functionlist_import_lamsfet_excercise_groups"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_excercise_groups</span> (line <span class="line-number">150</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_excercise_groups
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$excercise_groups</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$courses_terms</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$excercise_groups</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$courses_terms</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_labels" id="functionlist_import_lamsfet_labels"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_labels</span> (line <span class="line-number">189</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_labels
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$labels</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$labels</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_sets" id="functionlist_import_lamsfet_sets"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_sets</span> (line <span class="line-number">288</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_sets
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$sets</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$set_types</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$courses_terms</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$excercise_groups</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$sets</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$set_types</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$courses_terms</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$excercise_groups</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_set_types" id="functionlist_import_lamsfet_set_types"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_set_types</span> (line <span class="line-number">274</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_set_types
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$set_types</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$set_types</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_tasks" id="functionlist_import_lamsfet_tasks"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_tasks</span> (line <span class="line-number">225</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_tasks
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$tasks</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$lamsfet_url</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$tasks</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$lamsfet_url</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_tasks_in_sets_relation" id="functionlist_import_lamsfet_tasks_in_sets_relation"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_tasks_in_sets_relation</span> (line <span class="line-number">323</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_tasks_in_sets_relation
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$sets</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$tasks</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$tasks_in_sets</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$sets</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$tasks</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$tasks_in_sets</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_lamsfet_tasks_labels_relations" id="functionlist_import_lamsfet_tasks_labels_relations"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">list_import_lamsfet_tasks_labels_relations</span> (line <span class="line-number">253</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_lamsfet_tasks_labels_relations
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$tasks</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$labels</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$tasks_labels</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$tasks</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$labels</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$tasks_labels</span>			</li>
				</ul>
		
	
</div>
<a name="functionlist_import_prepare" id="functionlist_import_prepare"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">list_import_prepare</span> (line <span class="line-number">37</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			list_import_prepare
		</span>
				()
			</div>

		
	
</div>
<a name="functionremote_file_exists" id="functionremote_file_exists"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">remote_file_exists</span> (line <span class="line-number">388</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			remote_file_exists
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$url</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Fri, 13 Sep 2013 12:32:37 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>